package com.scott.ch03;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * 演示@ComponentScan注解的第3层心法
 */
@Configuration
@ComponentScan(value = "com.scott.ch03",useDefaultFilters=false,includeFilters ={
    @ComponentScan.Filter(type = FilterType.ANNOTATION,classes={Controller.class})
})
public class ScottConfiguration {
}
